package com.session02.homework;

import java.util.Scanner;

public class Test2 {
    public static void main(String[] args) {
        //从身份证号中取出生日部分
        System.out.println("请输入你的身份证号：");
        Scanner input = new Scanner(System.in);
        String str = input.next();
        String s = str.substring(6, 14);
        System.out.println(s);
    }
}
